package d0317;

public class CreateThreadByImplements implements Runnable {
    public void run(){
        System.out.println("CreateThreadByExtends is running....");
        System.out.println(Thread.currentThread().getName());
    }


    public static void main(String[] args) {
        Thread threadByImplement = new Thread(new CreateThreadByExtends());
    }
}
